package com.intelligentclass.services;

import com.intelligentclass.entity.Judge;
import com.intelligentclass.repositories.JudgeRespository;
import org.springframework.stereotype.Service;

@Service
public class JudgeService {

    private JudgeRespository judgeRepository;

    public JudgeService(JudgeRespository judgeRepository) {
        this.judgeRepository = judgeRepository;
    }

    public Judge save(Judge judge) {
        return judgeRepository.save(judge);
    }
}
